<?php 
	session_start();
	//Set
	$_SESSION['username'] ="";
	$_SESSION['userid']="";
	$_SESSION['bid'] ="";
	$_SESSION['branchtype'] ="";
	$_SESSION['groupid'] ="";
	$_SESSION['branchcode'] ="";
	$_SESSION['discount'] ="";
	$_SESSION['permission'] ="";
	$_SESSION['state'] ="";
	$_SESSION['custid'] ="";
	session_unregister("username");
	session_unregister("custid");
	session_unregister("branchcode");
	session_unregister("userid");
	session_unregister("bid");
	session_unregister("discount");
	session_unregister("branchtype"); 
	session_unregister("groupid"); 
	session_unregister("state"); 
	session_unregister("permission"); 
	echo "<meta http-equiv = refresh ; content = '0 ; url = index.html'>";
?>